<div class="wrap">
	<div id="icon-options-general" class="icon32"></div>
	<h2>NHS Choices settings</h2>
	
	<form method="post" action="options.php">
		<?php wp_nonce_field('update-options'); ?>
		<?php $api_key = get_option('nhschoices_api_key'); ?>
		
		<table class="form-table">
			<tr valign="top">
				<th scope="row"><label for="nhschoices_api_key">API key</label></th>
				<td>
					<input type="text" id="nhschoices_api_key" name="nhschoices_api_key" value="<?php echo $api_key; ?>" /><br />
					<em>
						Because the NHS Choices API requires a username and password, you will need
						to <a href="http://nhschoicescred.appspot.com">obtain an API key from Substrakt</a>,
						which will provide those credentials to this plugin.
					</em>
				</td>
			</tr>
		</table>
		
		<input type="hidden" name="action" value="update" />
		<input type="hidden" name="page_options" value="nhschoices_api_key" />
		
		<p class="submit">
			<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
		</p>
	</form>
</div>